char1 = "itheima itcast boxuegu"
count1 = char1.count("it")
count2 = char1.replace(" ","|")
count3 = char1.split("|")
print(f"{char1}中 it 的个数为{count1}.\n替换后的字符串为{count2},分割后：{count3}")